package com.example.message.core;

import java.io.Serializable;
import java.util.Set;

public class Message implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private long id;
	private String code;
	private double version;
	private Set<MessageTemplate> templates;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Set<MessageTemplate> getTemplates() {
		return templates;
	}

	public void setTemplates(Set<MessageTemplate> templates) {
		this.templates = templates;
	}

	public double getVersion() {
		return version;
	}

	public void setVersion(double version) {
		this.version = version;
	}

}
